package QL;

import java.util.Map;

public class ButlerCashOutOrderSetStateRequest implements IQLRequest
{
    /// <summary>
    /// 区服Id
    /// </summary>
    public long ZoneId;

    /// <summary>
    /// 提现订单编号
    /// </summary>
    public long OrderId;

    /// <summary>
    /// 1提现成功 2拒绝提现
    /// </summary>
    public long State;

    /// <summary>
    /// 操作员
    /// </summary>
    public String Operator;

    /// <summary>
    /// 代付类型 0不使用代付 1联合支付代付
    /// </summary>
    public long CashOutType;

    @Override
    public String GetApiName()
    {
        return "butler.cash.out.order.set.state";
    }

    @Override
    public void Validate()
    {
    }

    @Override
    public void AddParameters(Map<String, String> map)
    {
        map.put("zone_id", String.valueOf(ZoneId));
        map.put("order_id", String.valueOf(OrderId));
        map.put("state", String.valueOf(State));
        map.put("operator", Operator);
        map.put("cash_out_type", String.valueOf(CashOutType));
    }
}
